<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="" method="post">
    {% csrf_token %}
    <p>
        <label for="{{ stuFrom.sname.id_for_label }}">{{ stuFrom.sname.label }}</label>{{ stuFrom.sname }}
    </p>
    <p>
        <label for="{{ clsFrom.cname.id_for_label }}">{{ clsFrom.cname.label }}</label>{{ clsFrom.cname }}
    </p>
    {#    {{ clsFrom.cname.id_for_label }}-{{ clsFrom.cname.label }}-{{ clsFrom.cname }}#}
    <button>注册</button>
</form>
</body>
</html>